package diertian;

import java.util.Scanner;

public class lianxi8 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入任意一个浮点型数字");
        double a;
        a= scanner.nextDouble();
        a=(int)(a*100+0.5);
        a=a/100.0;
        System.out.println("结果是：" + a);


    }
}
